#!/bin/bash  
set -xv

if [ $# != 1 ] ; then 
    echo "USAGE: $0 拷贝ios头文件和libwebrtc.a库文件的目标路径" 
    exit 1;
fi 
#shell判断文件夹是否存在
if [ ! -d  $1 ]; then
    echo "USAGE: $1 路径不存在" 
    exit 1;
fi


cp -f /Users/coolio/Projects/lima/libs/soup/lima/sources/export.hpp                         $1/
cp -f /Users/coolio/Projects/lima/libs/soup/lima/sources/videodecoderexport.hpp          $1/
cp -f /Users/coolio/Projects/lima/libs/soup/lima/sources/videoencoderexport.hpp          $1/
cp -f /Users/coolio/Projects/lima/libs/soup/docs/ios_notes.md                                $1/
cp -f /Users/coolio/Projects/webrtc_ios/src/out/ios_arm64/obj/libwebrtc.a                   $1/





